package com.clkj.xiuzheng.service.shangcheng;

import com.clkj.xiuzheng.pojo.shangcheng.ProductComment;
import com.github.pagehelper.PageInfo;

import javax.servlet.http.HttpServletRequest;

public interface ScCommentService {
    PageInfo getProductByCategoryId(Integer productId, Integer commentType, Integer pageSize, Integer pageNum);

    void addComment(ProductComment productComment);

    PageInfo getCommentByCompanyId(Integer companyId, Integer productId, Integer pageSize, Integer pageNum);

    void deleteComment(String productCommentIds);

    void TopComment(String productCommentIds, Integer isTop);

    void importComment(HttpServletRequest request);

    String addCommentImg(HttpServletRequest request);
}
